package org.biloxi.player;

public class PlayerID {
	private final String _id; 
	
	public PlayerID(String id){
		_id = id;
	}
	
	@Override
	public boolean equals(Object obj) {
		if(obj instanceof PlayerID){
			return _id.equals(((PlayerID)obj)._id);
		}
		return false;
	}

	@Override
	public int hashCode() {
		return _id.hashCode();
	}

	@Override
	public String toString() {
		return _id;
	}

}
